<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
    <head>
            <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
            <title><?=(isset($title) ? Html::chars($title) : '')?></title>
            <meta name="keywords" content="<?=(isset($keywords) ? $keywords : '')?>" />
            <meta name="description" content="<?=(isset($description) ? $description : '')?>" />
            <meta name="robots" content="index, follow" />
            <?php
                    if (isset($meta)) foreach ($meta as $i) {
                            echo '<meta' . Html::attributes($i) . ' />'."\n";
                    }
            ?>
            <link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" />
            <link href="/styles/style.css" rel="stylesheet" type="text/css" />
            <link href="/styles/website.css" rel="stylesheet" type="text/css" />
            <?php
                    if (isset($link)) foreach ($link as $i) {
                            echo '<link' . Html::attributes($i) . ' />'."\n";
                    }
            ?>
            <script type="text/javascript" src="/scripts/jquery/jquery.js"></script>
            <script type="text/javascript" src="/scripts/jquery/png-fix.js"></script>
            <?php
                    /*
                    <script type="text/javascript" src="/scripts/swfobject.js"></script>
                    <script type="text/javascript">
                            swfobject.embedSWF("/flash/preloader.swf", "flashcontent", "100%", "100%", "9.0.0");
                    </script>
                    */
            ?>
            <?if (isset($scripts)) foreach ($scripts as $script) :?>
                    <script type="text/javascript" src="<?=Url::site($script)?>"></script>
            <?endforeach?>
    </head>
    
    <body>
        <div id="header_content" class="header block_center">
            <?php echo $header; ?>
        </div>
        <div class="separate"></div>

        <div id="main_content" class="block_center" style="width: 1000px;">
            <?php echo $content; ?>
        </div>
        <div class="separate"></div>
        
        <div id="bottom_content" class="block_center" style="width: 1000px; height: 50px;">
            <?php echo isset($bottom) ? $bottom : ''; ?>
        </div>
    </body>
    
</html>